package com.sky.edumanageapi.comment.dao.repository;


import com.sky.edumanageapi.comment.pojo.dto.CommentParam;
import com.sky.edumanageapi.comment.pojo.entity.Comment;

import java.util.List;

public interface CommentRepository {
    List<Comment> getCommentListByCourseId(Integer courseId);

    void insert(CommentParam commentParam);

    List<Comment> getCommentListByUserId(Integer userId);
}
